package org.dromara.business.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

@Data
public class TransactionLogRequest {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String txHash;
    private String fromAddress;
    private String toAddress;
    private BigInteger value;
    private BigInteger blockNumber;
    private Long timestamp;
    private Integer status; // 0-未处理, 1-已推送, 2-推送失败
    private String data;
    private Date blockTime;       // 区块时间

}
